* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
}

/* 头部样式 */
.header {
    height: 60px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    border-radius: 4px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #1890ff;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout {
    color: #666;
    text-decoration: none;
}

/* 侧边栏样式 */
.sidebar {
    width: 200px;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    padding: 12px 20px;
}

.nav-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.nav-item.active {
    background-color: #e6f7ff;
}

.nav-item.active a {
    color: #1890ff;
}

.nav-item:hover {
    background-color: #f5f5f5;
}

/* 仪表式 */
.dashboard-container {
    padding: 20px;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.status-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-card h3 {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.status-card .count {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
}

.status-card .status {
    font-size: 18px;
    color: #52c41a;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* 表单容器样式 */
.form-container {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24,144,255,0.2);
    outline: none;
}

.form-control:hover {
    border-color: #40a9ff;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}

.btn {
    min-width: 120px;
    height: 40px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: #40a9ff;
}

.form-footer {
    margin-top: 40px;
    text-align: center;
}

/* 最近记录样式 */
.recent-records {
    margin-top: 30px;
}

.recent-records h3 {
    margin-bottom: 15px;
}

/* 记录列表样式 */
.records-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 24px;
    margin: 0 auto;
}

.records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.records-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.filter-bar {
    display: flex;
    align-items: center;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th {
    background-color: #fafafa;
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.table tbody tr:hover {
    background-color: #fafafa;
}

/* 状态标签样式 */
.status-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.status-using {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-completed {
    background-color: #f6ffed;
    color: #52c41a;
}

.status-cancelled {
    background-color: #fff1f0;
    color: #ff4d4f;
}

/* 按钮变体 */
.btn-small {
    min-width: auto;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
}

.btn-secondary {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #666;
}

.btn-secondary:hover {
    background-color: #fafafa;
    border-color: #40a9ff;
    color: #40a9ff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.btn-page {
    min-width: 32px;
    height: 32px;
    padding: 0;
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #666;
}

.btn-page:hover {
    border-color: #40a9ff;
    color: #40a9ff;
    background: #fff;
}

.btn-page.active {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.btn-page.active:hover {
    background: #40a9ff;
}

/* 流程状态样式 */
.process-flow {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.process-step {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50px;
    right: 0;
    height: 2px;
    background: #f0f0f0;
    z-index: 1;
}

.process-step.completed:not(:last-child)::after {
    background: #1890ff;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #999;
    margin-right: 12px;
    position: relative;
    z-index: 2;
}

.process-step.completed .step-icon {
    background: #1890ff;
    color: #fff;
}

.process-step.active .step-icon {
    background: #fff;
    color: #1890ff;
    border: 2px solid #1890ff;
}

.step-info h4 {
    margin: 0;
    font-size: 15px;
    color: #333;
}

.step-info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #666;
}

/* 当前用车信息样式 */
.current-vehicle-info {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.current-vehicle-info h3 {
    margin: 0 0 20px;
    color: #333;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.info-item span {
    font-size: 15px;
    color: #333;
}

/* 按钮变体 */
.btn-warning {
    background: #faad14;
}

.btn-warning:hover {
    background: #ffc53d;
}

.btn-primary {
    background: #52c41a;
}

.btn-primary:hover {
    background: #73d13d;
}

/* 区域标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h3 {
    margin: 0;
}

/* 时间段标识样式 */
.status-time-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.time-tab {
    padding: 8px 24px;
    border: none;
    background: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.time-tab.active {
    color: #1890ff;
    font-weight: 500;
}

.time-tab.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1890ff;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    color: #333;
    margin-bottom: 8px;
}

.form-tip {
    color: #666;
    font-size: 14px;
}

/* 面包屑导航样式 */
.breadcrumb {
    margin-bottom: 20px;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #d9d9d9;
}

.breadcrumb-item:last-child {
    color: #333;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #1890ff;
}

/* 管理员页面容器样式 */
.section-container {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 状态标签扩展 */
.status-pending {
    background-color: #fff7e6;
    color: #fa8c16;
}

/* 标签页样式 */
.tabs {
    display: flex;
    gap: 10px;
}

.tabs .btn {
    min-width: 120px;
}

.tabs .btn.active {
    background: #1890ff;
}

.tabs .btn-secondary {
    background: #fff;
    color: #666;
    border: 1px solid #d9d9d9;
}

.tabs .btn-secondary:hover {
    color: #40a9ff;
    border-color: #40a9ff;
} 